ArcPad Map File Schema
SLIDER Element
See Also  Send comments on this topic.
ArcPad Map File Schema > PAGE Element : SLIDER Element

Glossary Item Box

Description

Used to define a Slider control in a form.

Diagram

SLIDER Element

Overview

SLIDER
Used to define a Slider control in a form.
height required Restriction of xs:int
width required Restriction of xs:int
x required xs:int
The x coordinate of the upper left corner of the slider.
y required xs:int
The y coordinate of the upper left corner of the slider
border optional Restriction of xs:string
buddy optional xs:string
defaultvalue optional xs:string
field optional xs:string
group optional Restriction of xs:string
lower optional xs:int
name optional xs:string

When parent is ToolButton:

Custom tool name. Used to reference the tool in scripts.

orientation optional Restriction of xs:string
readonly optional Restriction of xs:string
required optional Restriction of xs:string
tabstop optional Restriction of xs:string
upper optional xs:int

Attributes

NameTypeUseDefaultFixedDescription
heightRestriction of xs:intrequired   
widthRestriction of xs:intrequired   
xxs:intrequired  The x coordinate of the upper left corner of the slider.
yxs:intrequired  The y coordinate of the upper left corner of the slider
borderRestriction of xs:stringoptionalfalse  
buddyxs:stringoptional   
defaultvaluexs:stringoptional   
fieldxs:stringoptional   
groupRestriction of xs:stringoptionalfalse  
lowerxs:intoptional   
namexs:stringoptional  

When parent is ToolButton:

Custom tool name. Used to reference the tool in scripts.

orientationRestriction of xs:stringoptionalvert  
readonlyRestriction of xs:stringoptionalfalse  
requiredRestriction of xs:stringoptionalfalse  
tabstopRestriction of xs:stringoptionaltrue  
upperxs:intoptional   

Examples

Restrictions

The following attributes can only be used in edit and identify forms. They cannot be used in general forms:

  •  field
  •  required

Source

<xs:element name="SLIDER" maxOccurs="1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define a Slider control in a form.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute use="required" ref="height">
      <xs:annotation>
        <xs:documentation>The height of the slider.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute use="required" ref="width">
      <xs:annotation>
        <xs:documentation>The width of the slider.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute use="required" name="x" type="xs:int">
      <xs:annotation>
        <xs:documentation>The x coordinate of the upper left corner of the slider.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute use="required" name="y" type="xs:int">
      <xs:annotation>
        <xs:documentation>The y coordinate of the upper left corner of the slider</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="false" ref="border">
      <xs:annotation>
        <xs:documentation>Specifies whether the slider has a border.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="buddy" />
    <xs:attribute ref="defaultvalue">
      <xs:annotation>
        <xs:documentation>A simple expression that specifies the default value of the slider.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="field">
      <xs:annotation>
        <xs:documentation>The field of the shapefile's DBF table that is linked to the slider.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="false" ref="group">
      <xs:annotation>
        <xs:documentation>Specifies whether the slider starts a new group of controls.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="lower" type="xs:int" />
    <xs:attribute ref="name">
      <xs:annotation>
        <xs:documentation>Name of the Slider control. Used to reference the control in scripts.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="orientation" use="optional" default="horiz" />
    <xs:attribute default="false" ref="readonly">
      <xs:annotation>
        <xs:documentation>Specifies whether the slider's value can be modified by the user.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="false" ref="required">
      <xs:annotation>
        <xs:documentation>Specifies if the user must enter some text in the slider.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="true" ref="tabstop">
      <xs:annotation>
        <xs:documentation>Specifies whether the TAB key can be used to move the focus to the slider.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="upper" />
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.